package com.xrkj.b2c.service.impl.bus;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xrkj.b2c.dao.bus.BusShopLabelMapper;
import com.xrkj.b2c.model.bus.BusShopLabel;
import com.xrkj.b2c.service.bus.BusShopLabelService;

/**
 * 
 * <B>系统名称：</B><BR>
 * <B>模块名称：</B><BR>
 * <B>中文类名：</B>商品标签服务类<BR>
 * <B>概要说明：</B><BR>
 * 
 * @author 赵子靖
 * @since 2018年07月15日
 */
@Service
public class BusShopLabelServiceImpl implements BusShopLabelService {
    @Autowired
    private BusShopLabelMapper shopLabelDao;

    @Override
    public int deleteShopLabel(String id) {
        return shopLabelDao.deleteByPrimaryKey(id);
    }

    @Override
    public int insertShopLabel(BusShopLabel shopLabel) {
        return shopLabelDao.insertSelective(shopLabel);
    }

    @Override
    public int updateShopLabel(BusShopLabel shopLabel) {
        return shopLabelDao.updateByPrimaryKeySelective(shopLabel);
    }

    @Override
    public BusShopLabel selectByPrimaryKey(String id) {
        return shopLabelDao.selectByPrimaryKey(id);
    }

    @Override
    public Integer findShopLabelTotal(Map<String, Object> paramter) {
        return shopLabelDao.findShopLabelTotal(paramter);
    }

    @Override
    public List<BusShopLabel> findShopLabelList(Map<String, Object> paramter) {
        return shopLabelDao.findShopLabelList(paramter);
    }


}
